//
//  zhuye.h
//  kankanVideo
//
//  Created by wangbo on 7/2/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ListItem.h"
#import "IndexData.h"
#import "MyCoreData.h"
#import "ChannelDetailViewController.h"
#import "library.h"
#import "XMLParser.h"
#import "settingViewController.h"
#import "IpadPlayerViewController.h"
#import "IpadPlayerViewController2.h"
#import "HelperVierController.h"
#import "AboutUs.h"
#import "ChannelDetailViewController.h"

@interface zhuye : UIViewController<UIScrollViewDelegate,ListItemDelegate,libraryDelegate,UIAlertViewDelegate,settingViewControllerDelegate>{
    IBOutlet UIScrollView *sv;
    //MyCoreData *coreData;
    //ListItem *addeditem;
    int itemcount;
    IBOutlet UIButton *btnSetting;
    IBOutlet UIButton *btnAdd;
    ChannelDetailViewController *channelViewController;
    IpadPlayerViewController *padPlayerViewController;
    settingViewController *settingView;
    library *lview;
    //library *lview;
    UIImageView *pageImageView;
    UILabel *lblPage;
    
    HelperVierController *hvc;
}

@property(nonatomic,retain) ChannelDetailViewController *channelViewController;
@property(nonatomic,retain) library *lview;
@property(nonatomic,strong) IBOutlet UIButton *btntidy;
@property(nonatomic,strong) IBOutlet UIImageView *pageImageView;
@property(nonatomic,strong) IBOutlet UILabel *lblPage;
@property(nonatomic,strong) UIPageControl *pc;
@property(nonatomic,strong) UIScrollView *sv;
-(void)initItemWithCache;
-(void)tidyItem;
-(void)refreshCache;
-(IBAction)gotoLibrary:(id)sender;
-(IBAction)mytidy:(id)sender;
-(IBAction)gotoSetting:(id)sender;
-(IBAction)refreshIndex:(id)sender;
-(void)emptyListItem;
@end
